﻿/*
 * Created by SharpDevelop.
 * User: Alexander Petrovskiy
 * Date: 12/19/2012
 * Time: 11:46 PM
 * 
 * To change this template use Tools | Options | Coding | Edit Standard Headers.
 */

namespace TMX
{
    using System;
    using System.Management.Automation;
    
    /// <summary>
    /// Description of TMXOpenTestScenarioCommand.
    /// </summary>
    internal class TMXOpenTestScenarioCommand : TMXCommand
    {
        internal TMXOpenTestScenarioCommand(CommonCmdletBase cmdlet) : base (cmdlet)
        {
        }
        
        internal override void Execute()
        {
//            NewSuiteCmdletBase cmdlet =
//                (NewSuiteCmdletBase)this.Cmdlet;
//            
//            bool result = 
//                TMX.TMXHelper.NewTestSuite(
//                    cmdlet.Name,
//                    cmdlet.Id,
//                    cmdlet.Description);
//            if (result) {
//
//                cmdlet.WriteObject(cmdlet, TestData.CurrentTestSuite);
//            } else {
//                
//                cmdlet.WriteError(
//                    cmdlet,
//                    "Couldn't create a test suite",
//                    "CreatingTestSuite",
//                    ErrorCategory.InvalidArgument,
//                    true);
//            }
        }
    }
}
